<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<%@include file="../commons/common.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<link rel="stylesheet" type="text/css" href="<%=basePath%>/resources/css/table.css"/>
<style type="text/css">
/* CSS Document */
</style>
</head>
<body>
	<div align="center">
		<h4>用户列表</h4>
		<form id="form1" name="eqform" method="post" action="javascript:;"
			onsubmit="return searchBy('form1');">
			用户名：<input id="sbbh" name="sbbh" value=""
				style="width: 80px;" type="text"> email:<input id="sbmc"
				name="sbmc" maxlength="20" value="" style="width: 80px;" type="text">

			<input value=" 查询" type="submit" class="blueButtonCss">
		</form>
		<div id="result">
			<table  >
				<tr>
					<th >用户名
					</th>
					<th >邮箱
					</th>

					<th >地址
					</th>

					<th >性别
					</th>
					<th >生日
					</th>
					<th >最后登录时间
					</th>
				</tr>


				<c:forEach items="${userList}" var="u">
					<tr>
						<td ><a href="javascript:;" onclick=""
							id="${u.userName}">${u.userName}</a>
						</td>
						<td>${u.mail }</td>

						<td>${u.sex}
						</td>
						<td>${u.birthday}</td>
						<td>${u.address}</td>
						<td>${u.lastLoginTime}</td>
					</tr>
				</c:forEach>

			</table>
		</div>
	</div>
</body>
</html>
